package com.wn.equipment.mapper;

import com.wn.entity.EquipmentManagement;
import com.wn.entity.Feedback;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhairenhao
 * @date 2022/10/21 10:51
 */
@Repository
public interface FeedBackMapper {

    /**
     * @Author ReenHamZ
     * @Description 添加问题反馈
     * @Param [com.wn.entity.Feedback]
     * @return void
     **/
    void insert(Feedback feedback);

    Feedback getById(int id);

    void update(Feedback feedback);

    /**
     * @Author ReenHamZ
     * @Description //TODO 
     * @Param [com.wn.entity.Feedback]
     * @return java.util.List<com.wn.entity.Feedback>
     **/
    List<Feedback> getByCondition(Feedback feedback);
}
